package com.authapi.sample.api.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

//注解用于字段上
@Target({ElementType.TYPE,ElementType.METHOD})
//运行时使用
@Retention(RetentionPolicy.RUNTIME)
public @interface AdminOnly {
}
